<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ include file="/pages/login/common.jsp" %>
<%@ taglib uri="http://java.sun.com/jstl/core_rt" prefix="c"%>
<%
String path = request.getContextPath();
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="X-UA-Compatible" content="IE=8">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<meta content="B2B电商平台" name="description"/>
<meta content="B2B电商平台" name="keyword"/>

<title>B2B电商平台.邮箱认证</title>
<link rel="stylesheet" type="text/css" href="<%=path %>/include/css/style.css" />
<link rel="stylesheet" type="text/css" href="<%=path %>/include/css/mmt_trading.css" />
<script type="text/javascript" src="<%=path %>/include/js/jquery-1.8.0.min.js"></script>
<script type="text/javascript" src="<%=path %>/include/js/icss.common.js"></script>
<style type="text/css">
body{margin:0;padding-left:5px;}
ol{
    list-style-type: none;
    display: block;
}
li.current {
	background-color: #4F7BBA;
    font-weight: normal;
    color: #fff;
}
 ol.secr_step3 li {
 	   width: 33%;
 }  
 .next{
 	 background-color: #CCCCCC;
 }
 .done{
 	background-color: #CCCCCC;
 }
 ol li{
 	height: 23px;
    text-align: center;
    color: #656565;
    font-size: 14px;
    line-height: 23px;
    float: left;
 }
li{
	display: list-item;
}
</style>
<script type="text/javascript">
jQuery(document).ready(function() {
	
});
</script>
</head>
 <body>
  <div id="contentDiv">
 	<div style="width:100%;height:30px;border-bottom:1px solid #ADADAD;margin-top:6px;">
 		<div class="toptil">邮箱认证</div>
 	</div>
	 	<div class="secr_flowsteps" style="width:100%;">
			<ol class="secr_step3">
			<li class="done" style="width:49%;"><span class="first">1.邮箱认证</span></li>
			<li class="current" style="width:50%;"><span>2.认证结果</span></li>
			</ol>
		</div>	
		<input type="hidden" id="userCode" name="userCode"  value="${userCode}"  />
		<input type="hidden" id="emailAddress" name="emailAddress"  value="${emailAddress}"  />
		<div style="text-align:center;margin-top:100px;width:100%;">
			<p style="font-weight:bold;font-size: 24px;">
			<c:if test="${resultInfo eq 'COMPLETED'}">
			<img src='<%=path%>/include/images/ok.png' style='width:14px;height:14px;'/>恭喜您，邮箱认证成功！
			</c:if>
			<c:if test="${resultInfo eq 'UN_FIND'}">
			<img src='<%=path%>/include/css/img/icon12.gif' style='width:14px;height:14px;'/>您好，邮箱认证失败！请稍后再试或者联系管理员。
			</c:if>
			<c:if test="${resultInfo eq 'WAIT_BIND'}">
			<img src='<%=path%>/include/css/img/icon11.gif' style='width:14px;height:14px;'/>请接收邮件并完成认证！
			</c:if>
			</p>
			<br>
		</div>
		<div style="text-align:center;margin-top:10px;width:100%;">
			<c:if test="${resultInfo eq 'UN_FIND'}">
			<input type="button" style="border:none;background-position:3px -286px" class="btn_base" value="上一步" onclick="_back()"/>
			</c:if>
		</div>
	</div>
 </body>
  <script type="text/javascript">
$(document).ready(function(){
		_reHeight("rightFrame","contentDiv");
 });
  function _login(){
  	top.document.location.href="<%=path%>/login/login_out.do";
  }
  function _back(){
  	window.location.href = '<%=path %>/emailAuthenticate/emailAuthenticate.do?userCode='+$("#userCode").val()+"&emailAddress="+$("#emailAddress").val();
  }
  
  </script>
</html>
